for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import { Controller, Get } from '@nestjs/common';
@Controller({ path: 'health', version: '1' })
export class HealthController {
@Get()
check() {
return {
status: 'ok',
timestamp: new Date().toISOString(),
};
}